- 
		Home
	
 
	- 
Table Rate Shipping Method for WooCommerce by Flexible Shipping
 
- 
5.0.2
 
- 
Code
 
- 
Classes
 
-  RateCalculator 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											29 | 
										
																			
											| Dependencies | 
											17 | 
										
																			
											| Dependents | 
											3 | 
										
																	
							 
													
								
																			
											| Total lines | 
											349 | 
										
																			
											| Lines of code | 
											142 | 
										
																			
											| Logical lines of code | 
											81 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											118 | 
										
																			
											| Methods | 
											8 | 
										
																			
											| Properties | 
											14 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 8
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| calculate_rate() | 
									A  | 
																	45 | 
													8 | 
													39 | 
							
					
				| calculate_rate_for_rates() | 
									A  | 
																	44 | 
													7 | 
													44 | 
							
					
				| get_single_method_title() | 
									S  | 
																	60 | 
													4 | 
													12 | 
							
					
				| prepare_meta_data() | 
									S  | 
																	57 | 
													3 | 
													16 | 
							
					
				| set_zero_cost_if_negative() | 
									S  | 
																	68 | 
													3 | 
													7 | 
							
					
				| __construct() | 
									S  | 
																	59 | 
													1 | 
													15 | 
							
					
				| get_logger() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| set_logger() | 
									S  | 
																	81 | 
													1 | 
													3 |